package utils

import "os"

const (
	default_LOG_LEVEL = LevelINFO
	UA                = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
	UA_android        = "Mozilla/5.0 (Linux; Android 11; Pixel 5 Build/RQ3A.210805.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Mobile Safari/537.36"

	// Port              int = 19999

	// Address           string = "0.0.0.0:9966"
)

var (
	Logger *Log
)

func init() {
	l := default_LOG_LEVEL
	if v := os.Getenv("DEBUG"); v != "" {
		l = LevelDEBUG
	}
	Logger = NewLog(l)

	// if v := os.Getenv("BasePath"); v != "" {
	// 	BasePath = v
	// }
}
